<template>
  <fieldset>
    <legend>goods</legend>
    <router-link :to="{ name: 'detail', params: { id: 1 } }">黄瓜</router-link>
    |
    <router-link :to="{ path: '/detail/2' }">香蕉</router-link>
    |
    <router-link to="/detail/3">萝卜</router-link>
    |
    <router-link to="/goods/tips">tips</router-link>
    <router-view></router-view>
  </fieldset>
</template>
